package com.pw.domain;

import java.util.List;

import com.pw.manage.education.domain.EmployeesEducation;
import com.pw.manage.roster.domain.EmployeesExtraInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pw.common.annotation.Excel;
import com.pw.common.core.domain.BaseEntity;

/**
 * 员工基本信息对象 employees_base_info
 *
 * @author lye
 * @date 2024-12-28
 */
public class EmployeesBaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工基本信息主键id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String employeeNumber;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 岗位 */
    @Excel(name = "岗位")
    private String position;

    /** 工作性质 */
    @Excel(name = "工作性质")
    private String workNature;

    /** 员工额外信息模块信息 */
    private List<EmployeesExtraInfo> employeesExtraInfoList;

    /** 员工教育经历信息 */
    private List<EmployeesEducation> employeesEducationList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setEmployeeNumber(String employeeNumber)
    {
        this.employeeNumber = employeeNumber;
    }

    public String getEmployeeNumber()
    {
        return employeeNumber;
    }
    public void setDepartment(String department)
    {
        this.department = department;
    }

    public String getDepartment()
    {
        return department;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setWorkNature(String workNature)
    {
        this.workNature = workNature;
    }

    public String getWorkNature()
    {
        return workNature;
    }

    public List<EmployeesExtraInfo> getEmployeesExtraInfoList()
    {
        return employeesExtraInfoList;
    }

    public void setEmployeesExtraInfoList(List<EmployeesExtraInfo> employeesExtraInfoList)
    {
        this.employeesExtraInfoList = employeesExtraInfoList;
    }
    public List<EmployeesEducation> getEmployeesEducationList()
    {
        return employeesEducationList;
    }

    public void setEmployeesEducationList(List<EmployeesEducation> employeesEducationList)
    {
        this.employeesEducationList = employeesEducationList;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("employeeNumber", getEmployeeNumber())
            .append("department", getDepartment())
            .append("position", getPosition())
            .append("workNature", getWorkNature())
            .append("employeesExtraInfoList", getEmployeesExtraInfoList())
            .append("employeesEducationList", getEmployeesEducationList())
            .toString();
    }
}
